# -*- coding:UTF-8 -*-
import os
import threading
# from ConfigParser import ConfigParser


# def loadconfig(node):
#     config = {}
#     cp = ConfigParser();
#     cp.read("Config.ini")
#     for x in cp.options(node):
#         config[x] = cp.get(node, x)
#     return config
import time


def creatThread(target, args=()):
    t = threading.Thread(target=target, args=args)
    t.daemon = True
    t.start()
    return t


def GetTime_yyyyMMddHHmmss(at):
    return time.strftime("%Y%m%d%H%M%S", time.localtime(at))
